package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程对象 sys_course
 * 
 * @author Ansen
 * @date 2025-07-14
 */
public class SysCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程编号 */
    private Long courseId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 授课老师 */
    @Excel(name = "授课老师")
    private String courseTeacher;

    /** 授课书籍 */
    @Excel(name = "授课书籍")
    private String courseBook;

    /** 课程学生人数 */
    @Excel(name = "课程学生人数")
    private Integer courseStuNum;

    /** 课程状态（0：开课，1：未开课） */
    @Excel(name = "课程状态", readConverterExp = "0=：开课，1：未开课")
    private String status;

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }

    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }

    public void setCourseTeacher(String courseTeacher) 
    {
        this.courseTeacher = courseTeacher;
    }

    public String getCourseTeacher() 
    {
        return courseTeacher;
    }

    public void setCourseBook(String courseBook) 
    {
        this.courseBook = courseBook;
    }

    public String getCourseBook() 
    {
        return courseBook;
    }

    public void setCourseStuNum(Integer courseStuNum) 
    {
        this.courseStuNum = courseStuNum;
    }

    public Integer getCourseStuNum() 
    {
        return courseStuNum;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("courseName", getCourseName())
            .append("courseTeacher", getCourseTeacher())
            .append("courseBook", getCourseBook())
            .append("courseStuNum", getCourseStuNum())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
